package com.snowy.hidden.biz.domain.resp;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 信息表(Info)表实体类
 *
 * @author makejava
 * @since 2022-09-12 11:38:49
 */
@Data
public class InfoDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long infoId;

    @ApiModelProperty(value = "生成时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value = "简介")
    private String remark;

    @ApiModelProperty(value = "详情")
    private String detail;

    /**
     *类型0：新闻1：通知2 公告
     **/

    private Integer type;


}
